// Agent author in project Conferencefull.mas2j
/* Initial beliefs and rules */
/* Initial goals */
!submit_Paper.
/* Plans */
+!submit_Paper:hasPaper(P) <- 	?hasPaper(P);
								.print("Submit Paper");
								.send(submissionManagement,tell,receivePaper(P)).
+!submit_Paper:not hasPaper(P).
				
				  
+receiveAck[source(A)]<- 	.print("Ack received");
							ackReceived(A).

+accept[source(A)] <- .print("Receive Accept");
					   receiveAccept;
					  .print("Prepare Camera-ready");
					  prepareCameraReady;
					  .print("Send Camera-read");
					  .send(processingManagement, tell, receiveCameraReady);
					  -accept.

+reject[source(A)] <- .print("Receive Reject");
					  receiveReject;
					  -reject.
				
				

